home *** CD-ROM | disk | FTP | other *** search
/ Easy Personal Web Page / Easy Personal Web Page.iso / EMAIL / PEGASUS / MERCURY / MINSTALL.BAT < prev    next >
DOS Batch File  |  1993-12-13  |  7KB  |  120 lines

  1. @echo off
  2. echo off
  3. cls
  4. echo ┌─────────────────────────────────────────────────────────────────────────┐
  5. echo │                                                                         │
  6. echo │       Mercury Mail Transport System for NetWare 3.1x and 4.x,           │
  7. echo │        Copright (c) 1993, David Harris, All Rights Reserved.            │
  8. echo │                                                                         │
  9. echo │  This batch file will create the necessary directories in SYS:SYSTEM    │
  10. echo │  for Mercury and copy all the Mercury files to the appropriate places.  │
  11. echo │  If you have already installed an earlier version of Mercury, then it   │
  12. echo │  will simply update the NLMs and altered files.                         │
  13. echo │                                                                         │
  14. echo │  For it to work correctly, the following conditions must be true:       │
  15. echo │                                                                         │
  16. echo │  *  You must be logged in as SUPERVISOR or an equivalent user           │
  17. echo │  *  You must be running this batch file from the directory in which     │
  18. echo │     you unpacked MERC111.ZIP                                            │
  19. echo │                                                                         │
  20. echo │  If either of these is not true, please press Ctrl-Break now to stop    │
  21. echo │  the installation, otherwise....                                        │
  22. echo │                                                                         │
  23. echo └─────────────────────────────────────────────────────────────────────────┘
  24. echo 
  25. pause
  26. cls
  27. echo ┌───────────────────────────────────────────────────────────────────────────┐
  28. echo │                    Installing the Mercury System. . .                     │
  29. echo └───────────────────────────────────────────────────────────────────────────┘
  30. echo 
  31. echo Mapping drive K to SYS:SYSTEM...
  32. map k:=sys:system > nul
  33.  
  34. if not exist k:mercury.ini goto install
  35. if not exist k:mercury\*.* goto install
  36. echo Updating existing Mercury Installation...
  37. copy *.nlm k:
  38.  
  39. echo 
  40. echo ┌───────────────────────────────────────────────────────────────────────────┐
  41. echo │                                                                           │
  42. echo │                     Update completed successfully.                        │
  43. echo │                                                                           │
  44. echo │  Please make sure you run MGUIDE.EXE for information on changes in this   │
  45. echo │  release of Mercury. You will have to unload and reload the various       │
  46. echo │  Mercury NLMs before the updated version becomes active.                  │
  47. echo │                                                                           │
  48. echo └───────────────────────────────────────────────────────────────────────────┘
  49. echo 
  50. goto finis
  51.  
  52. :install
  53. echo Making K:.\MERCURY...
  54. mkdir k:\system\mercury
  55. echo 
  56. echo Copying NLMs and INI file to SYS:SYSTEM...
  57. copy *.nlm k:\system
  58. copy mercury.ini k:\system
  59. flag sys:system\mercury.ini S
  60. echo 
  61. echo Copying sample template and list files to SYS:SYSTEM\MERCURY...
  62. if exist mercury\maiser.hlp set foo=mercury\
  63. copy %foo%maiser.hlp  k:\system\mercury
  64. copy %foo%confirm.mer k:\system\mercury
  65. copy %foo%failure.mer k:\system\mercury
  66. copy %foo%maiser.lkp  k:\system\mercury
  67. copy %foo%maiser.hlp  k:\system\mercury
  68. copy %foo%lists.smp   k:\system\mercury
  69. cls
  70. echo ┌──────────────────────────────────────────────────────────────────────┐
  71. echo │ All Mercury components have now been copied. To complete the         │
  72. echo │ installation, you must tailor SYS:SYSTEM/MERCURY.INI to fit your     │
  73. echo │ site and system. Edit MERCURY.INI using any text editor, and make    │
  74. echo │ sure that at the very least the following entries are correctly set  │
  75. echo │ (you might want to press PrintScreen at this point).                 │
  76. echo │                                                                      │
  77. echo │    In the [General] Section:                                         │
  78. echo │    Myname     - The canonical name of your server.                   │
  79. echo │    Timezone   - Your time zone                                       │
  80. echo │    Mailqueue  - The mail queue Mercury is to service                 │
  81. echo │    SMTPqueue  - The mail queue Mercury is to service                 │
  82. echo │                                                                      │
  83. echo │    In the [Mercury] Section                                          │
  84. echo │    Postmaster - NetWare UIC of the user who is postmaster.           │
  85. echo │                                                                      │
  86. echo │    In the [MercuryC] Section                                         │
  87. echo │    Host       - IP address of your mail relay host.                  │
  88. echo │                                                                      │
  89. echo │    In the [Domains] Section                                          │
  90. echo │    - Create equivalences of the form SERVER : host.domain            │
  91. echo │                                                                      │
  92. echo └──────────────────────────────────────────────────────────────────────┘
  93. pause
  94. cls
  95. echo ┌────────────────────────────────────────────────────────────────────────┐
  96. echo │                Installation of Mercury is finished.                    │
  97. echo ├────────────────────────────────────────────────────────────────────────┤
  98. echo │                                                                        │
  99. echo │ Now edit SYS:SYSTEM\MERCURY.INI as described in the last screen. If    │
  100. echo │ you want Mercury to load automatically when the server boots up, add   │
  101. echo │ the following lines to the end of SYS:SYSTEM\AUTOEXEC.NCF -            │
  102. echo │                                                                        │
  103. echo │        load mercury                                                    │
  104. echo │        load mercurys                                                   │
  105. echo │        load mercuryc                                                   │
  106. echo │                                                                        │
  107. echo │ Also, if you have not run ADDQ on your mail queue, do so now.          │
  108. echo │                                                                        │
  109. echo │ At this stage, you should certainly run MGUIDE.EXE if you have not     │
  110. echo │ already done so. MGUIDE.EXE is an online guide to Mercury which        │
  111. echo │ discusses installation issues (especially MERCURY.INI) in more detail  │
  112. echo │ than this installer.                                                   │
  113. echo │                                                                        │
  114. echo └────────────────────────────────────────────────────────────────────────┘
  115. echo 
  116.  
  117. :finis
  118. map del k: > nul
  119.  
  120.